﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AgileShare.Framework.SiteProvisioning.Definitions
{
	public class ListTemplateDefinitionCollection : List<ListTemplateDefinition>
	{
		/// <summary>
		/// Gets the template names.
		/// </summary>
		/// <value>
		/// The template names.
		/// </value>
		public string[] TemplateNames
		{
			get
			{
				return this.Select(x => x.TemplateName).ToArray();
			}
		}

		/// <summary>
		/// Gets the file names.
		/// </summary>
		/// <value>
		/// The file names.
		/// </value>
		public string[] FileNames
		{
			get
			{
				return this.Select(x => x.FileName).ToArray();
			}
		}
	}
}
